

<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <meta name="layout" content="main" />
  <g:set var="entityName" value="${message(code: 'liberacao.label', default: 'Liberacao')}" />
  <title><g:message code="default.list.label" args="[entityName]" /></title>
</head>
<body>

<div class="body">
  <h1>Auditoria de Libela&ccedil;&atilde;o da Contratualiza&ccedil;&atilde;o</h1>
  
<div class="list">
  <table class="datagrid">
    <thead>
      <tr> 
    <g:sortableColumn property="faseUm" title="${message(code: 'liberacao.faseUm.label', default: 'Fase Um')}" />
      
    <g:sortableColumn property="faseDois" title="${message(code: 'liberacao.faseDois.label', default: 'Fase Dois')}" />
      
    <g:sortableColumn property="dataDeCadastro" title="${message(code: 'liberacao.dataDeCadastro.label', default: 'Data')}" />
      
        <th><g:message code="liberacao.usuario.label" default="Usuario" /></th>
      
    </tr>
    </thead>
    <tbody>
    <g:each in="${liberacaoInstanceList}" status="i" var="liberacaoInstance">
      <tr class="${(i % 2) == 0 ? 'odd' : 'even'}">
 
    
        <td> <g:checkBox   name="faseDois" value="${liberacaoInstance?.faseUm}" /></td>
      
        <td> <g:checkBox    name="faseDois" value="${liberacaoInstance?.faseDois}" /></td>
      
        <td>
        <g:formatDate format="dd-MM-yyyy" date="${liberacaoInstance.dataDeCadastro}" /> &agrave;s <g:formatDate type="time" style="short" date="${liberacaoInstance.dataDeCadastro}" />
        </td>
      
      <td>${fieldValue(bean: liberacaoInstance, field: "usuario.userRealName")}</td>
      
      </tr>
    </g:each>
    </tbody>
  </table>
</div>
 
</div>
</body>
</html>
